{template 'web/_header'}
{template 'tabs'}
<div class="panel panel-info">
    <div class="panel-heading">筛选</div>
    <div class="panel-body">
        <form action="./index.php" method="get" class="form-horizontal" role="form" id="form1">
            <input type="hidden" name="c" value="site" />
            <input type="hidden" name="a" value="entry" />
            <input type="hidden" name="m" value="ewei_shop" />
            <input type="hidden" name="do" value="plugin" />
            <input type="hidden" name="p" value="commission" />
            <input type="hidden" name="method" value="agent" />
            <input type="hidden" name="op" value="paylog" />
            <div class="form-group">
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">编号</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="text" class="form-control"  name="tid" value="{$_GPC['tid']}" /> 
                </div>
            </div>
            <div class="form-group">
                <label class="col-xs-12 col-sm-2 col-md-2 col-lg-1 control-label">会员信息</label>
                <div class="col-sm-8 col-lg-9 col-xs-12">
                    <input type="text" class="form-control"  name="realname" value="{$_GPC['realname']}" placeholder='可搜索昵称/名称/手机号'/> 
                </div>
                <div class="col-sm-3 col-lg-2"><button class="btn btn-default"><i class="fa fa-search"></i> 搜索</button></div>
            </div>
        </form>
    </div>
</div>
<div class="panel panel-default">
    <div class="panel-heading">总数：{$total}</div>
    <div class="panel-body">
        <table class="table table-hover">
            <thead class="navbar-inner">
                <tr>
                    <th style='width:120px;'>编号</th>
                    <th style='width:80px;'>粉丝</th>
                    <th style='width:80px;'>姓名</th>
                    <th style='width:110px;'>手机号码</th>
                    <th style='width:110px;'>支付金额</th>
                    <th style='width:80px;'>支付类型</th>
                    <th style='width:200px;'>时间</th>
                </tr>
            </thead>
            <tbody>
                {loop $list $row}
                <tr>
                    <td>{$row['tid']}</td>
                    <td><img src='{$row['avatar']}' style='width:30px;height:30px;padding1px;border:1px solid #ccc' /> {$row['nickname']}</td>
                    <td>{$row['realname']}</td>
                    <td>{$row['mobile']}</td>
                     <td>{$row['fee']}元</td>
                    <td>
                        {if $row['type']=="wechat"}
                        <span class="label label-success">微信支付</span>
                        {/if}
                        {if $row['type']=="unionpay"}
                        <span class="label label-warning">银联支付</span>
                        {/if}
                        {if $row['type']=="cash"}
                        <span class="label label-danger">余额支付</span>
                        {/if}
                    </td>
                    <td>{php echo date('Y-m-d H:i',$row['createtime'])}<br/>
                    </td>
                </tr>
                {/loop}
            </tbody>
        </table>
        {$pager}
    </div>
</div>
{template 'common/footer'}